import Vue from 'vue'
import {
  Tag,
  Row,
  Col,
  Menu,
  Main,
  Aside,
  Input,
  Radio,
  Button,
  Drawer,
  Select,
  Option,
  Upload,
  Header,
  Message,
  Dropdown,
  MenuItem,
  Container,
  MessageBox,
  RadioGroup,
  PageHeader,
  Pagination,
  RadioButton,
  DropdownItem,
  DropdownMenu,
  Notification,
  Badge
} from 'element-ui';

Vue.use(Tag);
Vue.use(Row);
Vue.use(Col);
Vue.use(Main);
Vue.use(Menu);
Vue.use(Badge);
Vue.use(Radio);
Vue.use(Input);
Vue.use(Aside);
Vue.use(Select);
Vue.use(Option);
Vue.use(Button);
Vue.use(Drawer);
Vue.use(Header);
Vue.use(Upload);
Vue.use(Dropdown);
Vue.use(MenuItem);
Vue.use(Container);
Vue.use(Pagination);
Vue.use(RadioGroup);
Vue.use(PageHeader);
Vue.use(RadioButton);
Vue.use(DropdownMenu);
Vue.use(DropdownItem);

// 因为这两个组件没有install方法 所以引入方式不同
Vue.prototype.$message = Message;
Vue.prototype.$msgbox = MessageBox;
Vue.prototype.$notify = Notification;
